package com.example.strategy;

/**
 * Created by Risky57 on 2017/4/28.
 */

public class GreenDuck extends Duck {

    public GreenDuck () {
        super("绿头鸭");
        mFlyBehavior = new FlyWithWings();
    }

    @Override
    public void display () {
        System.out.println("绿头鸭");
    }
}
